package com.xqls.dal.dao;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.RolePermissionExample;
import com.xqls.dal.model.RolePermissionKey;

public interface RolePermissionKeyDao {
    boolean deleteById(String roleId);

	boolean insertByList(List<RolePermissionKey> list);
    
    boolean updateRecord(RolePermissionKey record,RolePermissionExample example);
    
    boolean deleteRecord(RolePermissionKey key);
    
    boolean deleteByList(List<RolePermissionKey> list);
    
    boolean deleteByMap(Map<String,Object> map);
    
    RolePermissionKey getLastRecord();
    
    List<RolePermissionKey> getList(RolePermissionExample example);
    
    List<Map<String,Object>> getListByMap(Map<String,Object> map);
    
    List<Map<String,Object>> getMenuByMap(Map<String,Object> map);
}
